package com.itheima.health.service;


import com.itheima.health.entity.PageResult;
=======
>>>>>>> adc48831cde55357ef0420c5deac2882fa85ad7a
import com.itheima.health.pojo.Menu;

import java.util.List;

public interface MenuService {


    List<Menu> findAll();
    //添加
    void add(Menu menu);
    //分页查询
    PageResult findPage(String queryString, Integer currentPage, Integer pageSize);
    //删除
    void deleteById(Integer id);
    //回显
    Menu findById(Integer id);
    //修改
    void edit(Menu menu);
    List<Menu> findMenuByUsername(String username);
 
}
